{
	arguments: {list : "@default", parent : "", previous : "", title : undefined, notes : "", due : "", completed : "false"},
	method: "POST",
	url: function() {
		request = "?";
		if ($args.parent !== "") {
			request += "parent=" + $args.parent;
		}
		if ($args.previous !== "") {
			request += "&previous=" + $args.previous;
		}
		
		return "/lists/" + $args.list + "/tasks" + request;
	},
	body: function() {
		result = {
			title : $args.title
		};
		
		if ($args.notes !== "") {
			result.notes = $args.notes;
		}
		
		if ($args.due !== "") {
			result.due = $args.due;
		}
		
		if ($args.completed === "true") {
			result.status = "completed";
		}
		
		return result;
	}
}